package com.chuangshi.core.vote.playervote.controller.admin.request;

import com.chuangshi.core.kit.Request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 投票记录管理端V1获取单条的接收参数
 *
 * @author ggliming
 * @date 2019-02-21
 */
@ApiModel(description = "投票记录管理端V1获取单条的接收参数")
public class PlayerVoteAdminV1FindRequest extends Request {

    @ApiModelProperty(value = "投票记录编号", required = true, position = 10)
    @NotNull(message = "投票记录编号不能为空")
    @Length(max = 32, message = "投票记录编号长度超出限制")
    private String playerVoteId;

    public String getPlayerVoteId() {
        return playerVoteId;
    }

    public void setPlayerVoteId(String playerVoteId) {
        this.playerVoteId = playerVoteId;
    }

}